﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.DTO
{
    public class MaterialCategoryDto
    {
        /// <summary>
        /// id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 上级id
        /// </summary>
        public int? ParentId { get; set; }
        /// <summary>
        /// 物料类型名称
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// 物料类型编码
        /// </summary>
        public string? Code { get; set; }

        public List<MaterialCategoryDto> Children { get; set; } = new List<MaterialCategoryDto>();  
    }
}
